//
//  UserAccount.swift
//  WeiboTest
//
//  Created by 张文文 on 15/5/14.
//  Copyright (c) 2015年 zww. All rights reserved.
//

import UIKit
import Alamofire
//用户数据
class UserAccount: NSObject {
    //class func ... 类函数
    class func loadAccessToken(params: [String : String]) {
        
        let urlString = "https://api.weibo.com/oauth2/access_token"
        
        Alamofire.request(.POST, urlString, parameters: params).responseJSON() { (_, _, JSON, error) in
            println(JSON)
        }
    }
   
}
